package com.yfyszk.kingbird.common.result;

public class StatusCode   {
    /** 没有权限 */
    public static final int NOPERMISS = 401;

    /** 权限不足 */
    public static final int PERMISSION_LESS = 402;

    /** 会话ing */
    public static final int LOGING = 299;

    /** 会话失效 */
    public static final int LOGINOUT = 400;

    /** 操作成功*/
    public static final int OPERATIONSUCCESS = 200;

    /** 操作失败*/
    public static final int OPERATIONERROR = 500;

    /** 查询成功 */
    public static final int  SUCCESS = 0;

    /** 查询失败 */
    public static final int  FAIL = 1;

    /** 保存成功 */
    public static final int SAVESUCCESS = 202;

    /** 保存失败 */
    public static final int SAVEERROR = 502;

    /** 删除成功 */
    public static final int REMOVESUCCESS = 203;

    /** 删除失败 */
    public static final int REMOVEERROR = 503;

    /** 退出成功 */
    public static final int TOLOGINOUT = 204;

    /** 程序异常 */
    public static final int EXCEPTIONERROR = 510;

    /** 缺少必填项 */
    public static final int LACKVALUE = 511;

    /** 字段重复 */
    public static final int DUPLICATIONERROR = 512;

    /** 无对应数据 */
    public static final int NORETRUNDATA = 513;

    /** 默认状态 */
    public static final int DEFAULT = 251;

}
